#include "Lecturer.h"

Lecturer::Lecturer(){
    id = 0;
    fname = "";
    dob = "";
    addr = "";
    field = "";
    lec_year = 0;
    university = "";
}

Lecturer::Lecturer(int i_id,string i_fname,string i_dob,string i_addr,string i_field,short i_lec_year,string i_university){
    id = i_id;
    fname = i_fname;
    dob = i_dob;
    addr = i_addr;
    field = i_field;
    lec_year = i_lec_year;
    university = i_university;
}

void Lecturer::Show_lecturer(){
    cout<<id<<":"<<fname<<":"<<dob<<":"<<addr<<":"<<field<<":"<<lec_year<<":"<<university<<"\n";
}

void Lecturer::Set_field(string n_field){
    field = n_field;
}

void Lecturer::Set_lec_year(short n_lec_year){
    lec_year = n_lec_year;
}

void Lecturer::Set_university(string n_university){
    university = n_university;
}

string Lecturer::Get_field(){
    return field;
}

short Lecturer::Get_lec_year(){
    return lec_year;
}

string Lecturer::Get_university(){
    return university;
}
